package com.cloudpivot.receivales.ding.scenegroup.service;

import com.cloudpivot.receivales.ding.scenegroup.domain.DingUpdateFileReqDTO;
import com.cloudpivot.receivales.ding.scenegroup.domain.DingUpdateFileRspDTO;
import com.cloudpivot.receivales.ding.scenegroup.domain.DriveSpacesDTO;
import com.dingtalk.api.response.OapiMediaUploadResponse;

/**
 * 钉钉文件相关的服务接口
 */
public interface DriveSpacesService {

    /**
     * 创建盯盘
     * @param entity
     * @return
     */
    String createDriveSpaces(DriveSpacesDTO entity);

    /**
     * 接口上传钉钉文件 file《=10M
     * @param entity
     * @return
     */
    OapiMediaUploadResponse dingMediaUpload(DingUpdateFileReqDTO entity);

}
